package pikes.ecma;

import java.io.IOException;

import pikes.ecma.EcmaSyntaxVisitingException;
import pikes.ecma.SourceElement;
import pikes.ecma.SyntaxTreeVisitor;

public class MockSourceElement implements SourceElement {

	public SyntaxTreeVisitor syntaxTreeVisitor = null;

	public Appendable appendable = null;

	public void visit(SyntaxTreeVisitor syntaxTreeVisitor) throws EcmaSyntaxVisitingException {
		this.syntaxTreeVisitor = syntaxTreeVisitor;
	}

	public void print(Appendable appendable) throws IOException {
		this.appendable = appendable;
	}

}
